home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
developer.apple.com
/
developer.apple.com.tar
/
developer.apple.com
/
tools
/
OptimizationExample.dmg
/
Optimization Example
/
makefile
< prev
next >
Wrap
Makefile
|
2004-06-17
|
450b
|
23 lines
test: test.obj
gcc -o test test.o
test.obj: test.c
gcc -c -v test.c
clean:
rm test *.o
asm:
gcc -v -S -g -o test.asm.s test.c
asm0:
gcc -v -S -O0 -o test.O0.s test.c
asm1:
gcc -v -S -O1 -o test.O1.s test.c
asm2:
gcc -v -S -O2 -o test.O2.s test.c
asm3:
gcc -v -S -O3 -o test.O3.s test.c
asmsize:
gcc -v -S -Os -o test.size.s test.c
asmfast:
gcc -v -S -fast -o test.fast.s test.c
asmunroll:
gcc -v -S -floop-optimize -o test.unroll.s test.c